home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Tcl_Backslash Tcl Command Language Library Tcl_Backslash
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- Tcl_Backslash - parse a backslash sequence
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ttccll..hh>>
-
- char
- TTccll__BBaacckkssllaasshh(_s_r_c, _c_o_u_n_t_P_t_r)
-
- AARRGGUUMMEENNTTSS
- char *_s_r_c (in) Pointer to a string
- starting with a
- backslash.
-
- int *_c_o_u_n_t_P_t_r (out) If _c_o_u_n_t_P_t_r isn't NULL,
- *_c_o_u_n_t_P_t_r gets filled in
- with number of characters
- in the backslash
- sequence, including the
- backslash character.
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- This is a utility procedure used by several of the Tcl com-
- mands. It parses a backslash sequence and returns the sin-
- gle character corresponding to the sequence. TTccll__BBaacckkssllaasshh
- modifies *_c_o_u_n_t_P_t_r to contain the number of characters in
- the backslash sequence. If _s_r_c doesn't point to a backslash
- sequence understood by Tcl, then Tcl_Backslash returns a
- backslash as its result and *_c_o_u_n_t_P_t_r gets set to 1 (in this
- case the backslash character should not get any special
- treatment).
-
- See the Tcl manual entry for information on the valid
- backslash sequences. All of the sequences described in the
- Tcl manual entry are supported by TTccll__BBaacckkssllaasshh except |
- backslash-newline, which is not understood.
-
-
- KKEEYYWWOORRDDSS
- backslash, parse
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: November 26, 1989 1
-
-
-
-